/**
 * 
 */
package com.superbook.config;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author zen-rohitkumar
 *
 */
public class SpringApplicationContext {
	
	private static ApplicationContext context;
	
	private SpringApplicationContext(){
		
	}
	
	public static ApplicationContext getApplicationContext(){
		if(context == null){
			context = new ClassPathXmlApplicationContext("beans.xml");
		}
		return context;
	}
}
